using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class MdMachineTable : TableInfo
{
public const string C_TABLENAME = "Md_Machine";

public const string C_MACHINEID = "MACHINEID";

public const string C_MACHINENAME = "MACHINENAME";

public const string C_MACHINETYPE = "MACHINETYPE";

public const string C_STANDARDTIME = "STANDARDTIME";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public MdMachineTable()
{
_tableName = "Md_Machine";
}

protected static MdMachineTable _current;
public static MdMachineTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new MdMachineTable();

_current.Add(C_MACHINEID, new ColumnInfo(C_MACHINEID, "", true, typeof(String)));

_current.Add(C_MACHINENAME, new ColumnInfo(C_MACHINENAME, "", false, typeof(String)));

_current.Add(C_MACHINETYPE, new ColumnInfo(C_MACHINETYPE, "", false, typeof(String)));

_current.Add(C_STANDARDTIME, new ColumnInfo(C_STANDARDTIME, "", false, typeof(Decimal?)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

}

public ColumnInfo MACHINEID
{
get { return this[C_MACHINEID]; }
}

public ColumnInfo MACHINENAME
{
get { return this[C_MACHINENAME]; }
}

public ColumnInfo MACHINETYPE
{
get { return this[C_MACHINETYPE]; }
}

public ColumnInfo STANDARDTIME
{
get { return this[C_STANDARDTIME]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

}
}